<script setup lang="ts">
defineProps<{
  nodes?: string;
}>();
</script>

<template>
  <div class="by-rich-text overflow-y-auto" v-html="nodes" />
</template>

<style lang="less">
.by-rich-text {
  img {
    max-width: 100% !important;
    height: 100% !important;
  }
}
</style>
